<?php defined('SYSPATH') or die('No direct script access.');

class Controller_Contacts extends Controller_Common {

	public $template='layout/index';

	public function action_index() {
		$this->buildCarcas();
		$this->template->title .= ' - Контакты';

		$this->template->content = View::factory('pages/contacts', array(
			'social' => DB::select()->from('social')->order_by('sort', 'DESC')->as_object()->execute()
		));
	}

}
